﻿using Signit.Sdk.Types;

namespace Signit.Sdk.Entity
{
    public class KeywordPosition
    {
        public float? Width { get; set; }
        public float? RelativeWidthRatio { get; set; }
        public float? Height { get; set; }
        public float? RelativeHeightRatio { get; set; }
        public Direction Direction { get; set; }
        public float? Offset { get; set; }
        public float? RelativeOffsetRatio { get; set; }
        public string Keyword { get; set; }
        public float? Scale { get; set; }
        public string Pages { get; set; }

        /// <summary>
        /// x 方向的便移量 正是往右，负是往左，坐标缩放前进行最后的微调参数
        /// </summary>
        public float? XOffset { get; set; }

        /// <summary>
        /// y 方向的便移量 正是往上，负是往下，坐标缩放前进行最后的微调参数
        /// </summary>
        public float? YOffset { get; set; }

        public int Index { get; set; }
    }
}
